
public class Rectangulos extends Poligonos {
	
	public Rectangulos(){}
	
	public void Area(double anc, double alt){
		double area = (anc*alt);
		System.out.println("El area del rectangulo es de: "+ area);
	}
	
	public void Perimetro(double anc, double alt){
		double perimetro = 2*(anc+alt);
		System.out.println("El perimetro del rectangulo es de: "+ perimetro);
	}
	
}
